home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
GENELOGY
/
LINKAGES.LZH
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-03-30
|
3KB
|
90 lines
echo off
cls
echo ╔══════════════════════════════════════╗
echo ║ Welcome to Linkages ║
echo ║ ║
echo ║ We are about to install Linkages on ║
echo ║ your computer. First, you will ║
echo ║ answer a few questions about your ║
echo ║ memory, disk drives, display, and ║
echo ║ how you plan to use Linkages. ║
echo ║ ║
echo ║ Before we start, if Linkages will ║
echo ║ be running on a floppy system, you ║
echo ║ will need a formatted disk for data ║
echo ║ and a system disk (format a: /s) if ║
echo ║ you plan to boot the system using ║
echo ║ your Linkages program disk. ║
echo ║ ║
echo ║ If linkages will be running on a ║
echo ║ hard disk (C:) you should change ║
echo ║ drive c: to the desired directory ║
echo ║ before proceeding, for example: ║
echo ║ md c:\linkages ║
echo ║ cd c:\linkages ║
echo ╚══════════════════════════════════════╝
answer y "Are you ready? "
if errorlevel 1 goto mem
goto quit
:mem
answer y "Do you have at least 256K of memory? "
if errorlevel 1 goto setup
echo Sorry Linkages needs 256K to run
goto quit
:setup
cls
setup
if errorlevel 3 goto hard
if errorlevel 2 goto flop2
if errorlevel 1 goto flop1
if errorlevel 0 goto quit
:flop1
echo About to copy program files from A: to B:
echo Have your (system?) disk ready when asked for B:
pause
copy a:autoexec.bat b: /v
copy a:Linkages.exe b: /v
copy a:linkages.hlp b: /v
copy a:linkages.cfg b: /v
copy a:*.set b: /v
echo About to copy files for data disk from A: to B:
echo Have your data disk ready when asked for B:
pause
copy a:*.rpd b: /v
copy a:*.set b: /v
copy a:linkages.hlp b: /v
echo After you Load linkages, you may remove the program
echo disk and use the data disk by itself for the balance
echo of the session
goto done
:flop2
echo Insert (system?) Disk for program in drive B:
pause
copy a:autoexec.bat b: /v
copy a:Linkages.exe b: /v
copy a:linkages.hlp b: /v
copy a:linkages.cfg b: /v
copy a:*.set b: /v
copy a:*.rpd b: /v
goto done
:hard
echo About to copy Files to drive C:
echo Drive C: should be ready to receive them
pause
copy Linkages.exe c: /v
copy linkages.hlp c: /v
copy linkages.cfg c: /v
copy *.set c: /v
copy *.rpd c: /v
:done
echo Installation is completed
:quit
answer y "Do you want to print the manual now? "
if not errorlevel 1 goto getout
echo Make sure your printer is ready
pause
type linkages.man >prn:
:getout